Repository navigation
Restore missing dist workbench and add CI - #1
Merged
Merged
Conversation
The published repository was missing dist/, which broke the static UI, Docker image, demo fixtures, and browser module tests. Restore the frontend, demo data, and vendored DuckDB assets from the packaged release, ignore generated download zips, and add a CI check that requires the workbench files before running Node and Python tests. Co-authored-by: plii <[email protected]>
Publish the static workbench from dist/ via GitHub Actions Pages, document the Pages URL as the primary demo link with a temporary fallback, and add an MIT license plus bilingual README entry points for portfolio hygiene. Co-authored-by: plii <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The published
mainbranch only had the Python package, docs, and tests. The runnable workbench lives underdist/(index.html, browser modules, demo fixtures, vendored DuckDB). Without it:python -m datalens serve/ Docker cannot serve the UItests/*.test.mjsfail on missing importsThe repo also lacked a license, English README, and a durable demo host (only a chatgpt.site link).
Fix
dist/tree from the live workbench release zip (/downloads/datalens-ai.zip), which matched the existing backend/tests/docs byte-for-byte..gitignoreso generateddist/downloads/zips stay out of git.dist/is part of the product, not build cache.evaluateentry points.LICENSE,README.en.md, and bilingual links.dist/frommain, and point README demo links athttps://plii05.github.io/DataLens-AI/.After merge (manual, one-time)
https://plii05.github.io/DataLens-AI/llm,training-data,data-quality,procurement,evaluation,fastapiVerification
npm test→ 56/56 passpython -m unittest discover -s tests -p 'test_*.py' -v→ OK (3 optional skips)python -m datalens evaluateandpython -m datalens evaluate dist/data/demo.jsonboth succeed